package com.coincalf.wallet.service;

import com.coincalf.wallet.dto.CoinConfigDto;
import com.coincalf.wallet.entity.CoinConfig;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 币种配置信息 服务类
 * </p>
 *
 * @author crow
 * @since 2018-05-16
 */
public interface CoinConfigService extends IService<CoinConfig> {

    public CoinConfig selectOneByCoinId(long coinId);

    public CoinConfig selectOneByCoinName(String coinName);

    public List<CoinConfig> selectListByMainCoinId(long mainCoinId);

    public List<CoinConfigDto> selectContractAddressesByMainCoinId(long mainCoinId);
}

